<% head_options(@structure) %>

<div id="gallery">
	<% @photos.each do |photo| %>
		<%= link_to image_tag(photo.url(:gallery)), photo.url, :onclick=>"return hs.expand(this);" %>
	<% end -%>
</div>
<div class="pages">
	<%= will_paginate(@photos)%>
</div>

<% javascript("highslide", "highslide-html") %>
<% stylesheet("highslide/highslide") %>
